/**
 * network.h
 *
 * network layer radio frequency interface.
 *
 * Copyright (c) sti-seedclass 2011, tankery.chen@gmail.com
 */
#ifndef __NETWORK_H_
#define __NETWORK_H_

typedef void (* callback_array)(uint8_t *, uint32_t);

void networkInit(uint8_t srcAddr, uint8_t isNode);
void networkSetIntCallback(callback_array);
uint32_t networkSend(uint8_t *, uint32_t);
void networkProcessDuty(void);
uint32_t networkIsWorking(void);


#endif // __NETWORK_H_

